#ifndef _PANDAX__TEXTURE2D_H__
#define _PANDAX__TEXTURE2D_H__
#include "GL/glew.h"
#include "px_image.h"
typedef struct _texture2d
{
	GLuint m_textureId; //The id of the texture
	int width;
	int height;
}PXTEXTURE2D;

PXTEXTURE2D * create_texture2d(const char * fileName);
PXTEXTURE2D * create_texture2d_png(const char * fileName);
#endif // texture2d_h__
